OPTIONS=-Wall -g
make:
	make scheduler
	make stat
	make deq
	make enq
scheduler: job_schd.o scheduler.c
	cc -o scheduler job_schd.o scheduler.c $(OPTIONS)
stat: job_schd.o ipc_def.h stat.c
	cc -o stat stat.c job_schd.o $(OPTIONS)
deq: job_schd.o ipc_def.h deq.c
	cc -o deq deq.c job_schd.o $(OPTIONS)
enq: job_schd.o ipc_def.h enq.c
	cc -o enq enq.c job_schd.o $(OPTIONS)
job_schd.o: job_schd.h ipc_def.h job_schd.c
	cc -c job_schd.c $(OPTIONS)
clean:
	rm -v scheduler enq deq stat

